package com.hopedove.workshop.utils

import android.content.res.Resources
import android.util.TypedValue


fun Resources.dip(value: Float): Int =
    TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, value, displayMetrics).toInt()
